import request from "@/utils/request";

export const getOrderPrintList = (params) =>
    request({
        url: "/system/printConfig/listTable",
        method: "get",
        params
    });

export const addOrderPrint = (data) =>
    request({
        url: "/system/printConfig/add",
        method: "post",
        data
    });

export const updateOrderPrint = (data) =>
    request({
        url: "/system/printConfig/edit",
        method: "put",
        data
    });

export const delOrderPrint = (ids) =>
    request({
        url: `/system/printConfig/remove/${ids}`,
        method: "delete"
    });


export const getAddressAndService = (params) =>
    request({
        url: "/system/printConfig/getAddressAndService/" + params,
        method: "get"
    });

